package com.shop.clientorder.feign;

import com.shop.car.domain.ShopCarDetails;
import com.shop.common.core.domain.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Author：作者姓名
 * @Package：com.shop.clientorder.feign
 * @Project：e-commerce-services
 * @name：ShopCarRemote
 * @Date：2024/7/4 22:03
 */
@FeignClient(name = "shop-car1",url = "localhost:9205")
public interface ShopCarRemote {
    @GetMapping("/shopCar/details")
    public Result<ShopCarDetails> findShopCarDetails(@RequestParam("detailsId") Long detailsId);

}
